<template>
	<view class="content">
		<view class="top1">
			<view @click="fh" class="right_arrow"></view>
			<text  class="top2">我的喜欢</text>
		</view>
		<div class="l1">
			<div class="it1">
				<text class="t1">生活中懂点养生知识太重要了</text>
				<image class="p1" src="/static/p1.png"></image>
			</div>
			
			<div class="it2">
				<text class="t2">老年人将享受这些福利政策，每一条都是好东西</text>
				<image class="p2" src="/static/p2.png"></image>
			</div>
		</div>
		<div class="l2">
			<div class="it3">
				<text class="t3">养老金调整中的倾斜调整：高龄补贴</text>
				<image class="p3" src="/static/p3.png"></image>
			</div>
			
			<div class="it4">
				<text class="t4">寒露养生。寒露到，不露腿，三保暖，顺天意</text>
				<image class="p4" src="/static/p4.png"></image>
			</div>
		</div>
		
		<view style="background-color: #F95738;width: 100%;
		  height: 120rpx;
		  position:fixed;
		  bottom: 0;
		  display:flex;
		  flex-direction:row;
		  justify-content:flex-start;">
		   <view @click="gotohome" id="button1">
		   <image src="/static/home.png" style="width: 60rpx;height: 60rpx;margin-left: 50rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left: 47rpx;font-weight: 900;">首页</view>
		   </view>
		   <view @click="gotozf" id="button2">
		   <image src="/static/zf.png" style="width: 60rpx;height: 60rpx;margin-left: 230rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left: 190rpx;font-weight: 900;">一键转发</view>
		   </view>
		   <view @click="gotomy" id="button3">
		   <image src="/static/me.png" style="width: 60rpx;height: 60rpx;margin-left: 170rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left:170rpx;font-weight: 900;">我的</view>
		   </view>
		  </view>

	</view>
</template>

<script>
	export default{
		methods:{
			gotohome(){
				uni.navigateTo({
					url:"/pages/index/index"
				})
			},
			gotozf(){
				uni.navigateTo({
					url:"/pages/zf/zf"
				})
			},
			gotomy(){
				uni.navigateTo({
					url:"/pages/my/my"
				})
			},
			fh(){
				uni.navigateBack({
					url:"/pages/my/my"
				})
			}
			
		}
	}
	
</script>

<style>
	.top1{
		width: 100%;
		height: 130rpx;
		background-color: #F95738;	
		/* position:fixed; */
		display:flex;
		flex-direction:row;
		justify-content:flex-start;
	}
	.right_arrow{
	    border:  solid white;
	    border-width: 5px 0 0 5px;
	    padding: 15rpx;
	    position: absolute;
		top:70rpx;
	    left: 45rpx;
	    transform: rotate(-45deg);
	    -webkit-transform:rotate(-45deg) ;
	}
	.top2{
		font-size: 45rpx;
		font-weight: bold;
		position: absolute;
		margin-top: 55rpx;
		margin-left: 95rpx;
	}
	.content{
		/* 统一全局字体 */
		font-size: 30rpx;
		font-weight: bold;
		table-layout: fixed;
		word-wrap: break-all;
		word-break: normal;
		overflow: hidden;

	}
	.l1{
		display: flex;
		flex-direction: row;
		margin-top:50rpx;
		margin-left:30rpx;
	}
	.it1{
		display: flex;
		flex-direction: column;
		width: 300rpx;
	}
	.p1{
		width: 300rpx;
		height: 300rpx;
		margin-top: 10rpx;
	}
	.it2{
		display: flex;
		flex-direction: column;
		width: 400rpx;
		margin-left: 50rpx;
	}
	.p2{
		width: 300rpx;
		height: 300rpx;
		margin-top: 10rpx;
	}
	
	.l2{
		display: flex;
		flex-direction: row;
		margin-top:50rpx;
		margin-left:30rpx;
	}
	.it3{
		display: flex;
		flex-direction: column;
		width: 300rpx;
	}
	.p3{
		width: 300rpx;
		height: 300rpx;
		margin-top: 10rpx;
	}
	.it4{
		display: flex;
		flex-direction: column;
		width: 400rpx;
		margin-left: 50rpx;
	}
	.p4{
		width: 300rpx;
		height: 300rpx;
		margin-top: 10rpx;
	}

	
</style>